package com.gtw.modules.sys.service.impl;

import com.gtw.modules.dao.TbFeesDao;
import com.gtw.modules.entity.TbFees;
import com.gtw.modules.sys.service.SysFeesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by wuye on 2018/4/20.
 */
@Service
public class SysFeesServiceImpl implements SysFeesService {

    @Autowired
    private TbFeesDao feesDao;

    @Override
    public TbFees queryObject(Integer id){
        return feesDao.queryObject(id);
    }

    @Override
    public List<TbFees> queryList(Map<String, Object> map){
        return feesDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map){
        return feesDao.queryTotal(map);
    }

    @Override
    public void save(TbFees fees){
        feesDao.save(fees);
    }

    @Override
    public void update(TbFees fees){
        feesDao.update(fees);
    }

    @Override
    public void delete(Integer id){
        feesDao.delete(id);
    }

    @Override
    public void deleteBatch(Integer[] ids){
        feesDao.deleteBatch(ids);
    }
}
